ensures byte-string is sent to lib.
Merge pull request #11 from birkin/master

ensures byte-string is sent to lib.