Add support for python3, ran 2to3