fix parsing of contig name from bam-read output