BlobInputStream MD5 verification fix and a couple more fixes