ENH: Sync python scripts with python3.

Fix failing ITK*InDoxygenGroup tests due to
python API changes from python2.x to
python3.x.
Merge branch 'Python3Release' into release

This is already in master.  cherry-picking.