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

will not work:

 error: union member 'val' has a non-trivial copy constructor