Support bytestring URLs on Python 3.x
Merge pull request #2238 from buttscicles/byte-urls

Support bytestring URLs on Python 3.x