Fixed update-version scripting (especially in Windows).