Add windows support and work around issue with SCP_TO on windows systems

This will still have to be updated for windows paths, and the fqdn_rotate spec likewise.