use system-defined path for cmd.exe
fix URI quoting for downloaders on Windows (thanks, pat.rick)