Is using the uid of the `modulepath` even the right thing to do? I would have thought that it would use the current user as the correct owner, which is I think what will happen on windows (which doesn't end up using this parameter and so will probably end up with different ownership from unix).