Add support for Python3

Please don't use `__future__` for this stuff.