make runtests-isolated.py Python 3 ready