added support for pysam 0.8