Merge pull request #93 from ndawe/master

[MRG] missing <bytes> cast causing random string problems