remove unnecessary includes from bam writing example