gh-146202: Create tmp_dir in regrtest worker (#146347) Create tmp_dir in libregrtest.worker since the directory can be different than the --tempdir directory.