Fix importing mypy.codec.pytokenize in Python 3

Closes #370.