Create output files with same format as input files
Create output files with same format as input files

Add file_format to ncfile class, and use this when saving files, so that
output file format matches input file format.

koldunovn/fixnc