Script to convert SAM to BAM