Fix PowerShell plugin issues affecting fetch module when used against Windows hosts.
Merge pull request #9688 from cchurch/fix_win_fetch

Fixes for fetch module when connecting to Windows hosts