Fixed bug in guessing file format

- Fixed bug in guessing file format that wasn't correctly reporting SAM/BAM
- changed seq_guess_fastq_format API