Fix mixed line endings
Fix git status: Your branch is ahead of 'origin/branch'
Add downloaded update file corruption check