Fixed errors in fa2fq function for reading input files