python3: 2to3 tool

Fixes for Python 3 with 2to3

partial https://github.com/vmware/pyvmomi/issues/55