Call fclose on output_fp when -o option is given

Hi Vince,

Tiny pedantic change picked up when `valgrind`ing the last PR. Basically, this should call `fclose` on the file opened when a file is opened w/ `fopen` as a result of the `-o` command line flag.

Cheers,
Kevin