added gzip and bzip2 output to write_fasta