Fixed a small error in build-ini.bat file which was preventing startup on Windows

The script which is trying to determine current ERTS version appends to the temp file instead of overwriting it. It works the first time you run it, but if ERTS version changes, it will keep assigning the first line from that file (which contains ERTS version as of the first invocation of the script). Patch tested on Windows 7.