Added fix for race condition, games are now run in temporary directories