Merge pull request #10419 from OatmealDome/mac-updater-rename UpdaterCommon: Copy content file to a temporary file before renaming on macOS