fixed bytes vs string for py3
Merge pull request #8 from john5223/master

fixed bytes vs string for py3