Remove 2to3 warnings for Python 2 installations