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

```
if (remaining == 0)
  return false;
--remaining;
return true;
```
causes no underflow in case someone calls it after it was false the first time