Fix handling of the tmp dir for int test execution.