Fix buffer overflow. (fixes #19)
Respect '-s' in bammd5
Fix crash when decompressing SAM/BAM files compressed with -a