Added writing file in FASTA format
Resolved conflicts with fasta output write