Resolve pair information for ambiguously named reads when converting SAM to FASTQ