Fixed the use of bytes and strings to be Python3 compatible.
Merge pull request #1 from wapiflapi/master

Fixed the use of bytes and strings to be Python3 compatible.