be sure to write the headers and end of VCF files!