Use 2to3 to convert to python3