update srf2fastq detection code to work with byte arrays