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

who needs this function? seems as if enrico wrote it.