nsq_to_file `--per-line` flag

I need this and i don't want to rewrite it all, so i created a pull request. Thanks!