Fixing fasta read/write