fix cases that caused empty files

* fix cleanup to sync/close file after reader exit
* add --skip-empty-files flag
Merge pull request #216 from jehiah/empty_files_216

nsq_to_file: corrupt empty gzip file