Get install dir from running exe
Keep backup of settings file. Do write under lock.
Lock just in case someone will call EnsureSettingsAreUpToDate outside the lock.
Merge remote-tracking branch 'gitextensions/master' into BuildServerIntegration