Fix a Python 3 issue

See #76.