fun perAction(): TempFolder
Sets up the tmpDir before each action and cleans it up after each action.