Fixing check_fasta_file function for gzipped input data