Fix for setup.py TypeError

Setup.py was throwing the following error:
"TypeError: Type str doesn't support the buffer API"
Codecs returns a bytes object instead of a string object in Python3, and causes this error. This fix resolves this problem.
Merge pull request #5 from DanMeakin/master

Setup.py Error in Python3