Python 3 version of bam_alignment.

Using the 2to3 tool I ran agains the whole library. This was the
only file it changed.