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

This is actually used by the `fqdn_rotate()` test https://github.com/puppetlabs/puppetlabs-stdlib/blob/4.3.x/spec/acceptance/fqdn_rotate_spec.rb#L8 . Should we just case that test out too?