logstash: Close input and output files in copyFile().
logstash: Close input and output files in copyFile().

While hardly significant for a short-lived process like LFV let's
not leak file descriptors. Also, make sure we check the return value
of the destination file's Close() call.

magnusbaeck/logstash-filter-verifier