Added dump_fasta method to fasta.py