Fix for python3: binary is not str
Merge pull request #2 from peper0/master

Fix for python3: binary is not str