fixed bug in seq_write_fasta that caused bad char to be written to end of fasta file