Release script updated

Fixed bad versioning in ChangeLog.md
Fixed incompatibility with Windows
Here I unset variable overriden by bash.
`TMP="/tmp"` - before this line
`TMP="C:/bla-bla-bla"` - after