Changed the default line ending in vcf.Writer() to '\n'.