Make MOF UPLOAD work on newer Windows

This PR modifies the MOF_UPLOAD method of psexec
so that it works properly on newer versions of windows.