While the rest of the save files were fixed with #142, the nodedb,
specifically advtrains_ndb2, has a minor issue on windows.
84: tmppath = path .. "~"
85: local file, err = io.open(tmppath, "wb")
101: os.rename(tmppath, path)
The old file is not deleted before moving the ~file to the target,
resulting in a failed operation on windows. Same root cause as #142, less
immediate effect since nothing breaks visibly on reload but
advtrains_netmapper will read out-of-date data. Since the os.rename call is
meant to clobber the `path` file anyway, I suggest the following line also
If this seems too dangerous, remember that it is not really any more
dangerous in intent than clobbering the file, so you should take a more
careful approach to the save operation and make sure it is