Apply 2to3 to support Python 3