Fix decode error for Python 3
Merge pull request #177 from rev112/fix_version_for_py3

Fixed decode error for Python 3