Update python scripts to work in python3

Authored by rstephenson on Dec 13 2019, 2:04 AM.