[tor-commits] [thandy/master] Fix possible race condition with os.path.exists