upgrade scripts in Tools/* to python3
the buildserver now runs python3