Bugfixed runtime error os.tmpnam (tempfile.mkstemp) in run_in_server function