Handle truncated BAM files