[FIX] Adapted the sam/bam module to new stream modul.

there are a lot of __int32 types used for non-negative numbers like length etc.

Is that required by the BAM standard or in the source code of samtools? If not this maybe should be __uint32