Fix for Python 3.
Merge pull request #5 from jacobian/master

Python 3 support