Addresses #9032.

Fix so that cmd.script no longer deletes the original file on windows standalone minions.  

This Removes the special handling of windows script files, which resulted in using the original location in the repository as the temp file path.  It seems the only special handling needed was only there to preserve the original extension (a .bat file needs the .bat extension to run on windows, but it wouldn't on linux).  This is confirmed working on windows standalone minion.  Untested on non-windows.  The only change to non-windows is the addition of the extension to temp files, so it *should* be ok there.