Modernizes Python code for eventual Python 3 migration. Build on top of 2to3