I think you should also set the ` WorkingDirectory` to the local temp folder.