export_fasta to write to files not stdout