Replace munge-ns with tools.namespace's ns-file-name

munge-ns did almost exactly the same thing, except assumed Unix/Linux
path separators and I think did not work for Windows.