Release script updated

Fixed bad versioning in ChangeLog.md
Fixed incompatibility with Windows
Is there a way how to detect windows and use `NULL` instead of `/dev/null`? http://stackoverflow.com/questions/313111/dev-null-in-windows