condor.py and tmpfiles.py: add python3 support