upload: Simplify UploadStashTest by using getNewTempFile()