ENH: Sync python scripts with python3.

Fix failing ITK*InDoxygenGroup tests due to
python API changes from python2.x to
python3.x.
Merge topic 'SyncWithPython3'

ae94983 ENH: Sync python scripts with python3.