Stdout in BAM within pysam