Reverting sam intermediates back to bam