scripts/gen-mumble_app-qt-def.py: add Python 3 compatibility.