Handle the binary return from mhash better
Merge pull request #1 from kaithar/master

Binding produces truncated hashes due to type mismatch