fix fasta/fastq from being determined from file name