write dna header to file error