PUP-3561 add exception catch and wrapping into known exception type

I think that it'll be better to wrap the exception rather than replace it, like so:

```
raise Puppet::Util::windows::Error.new("Failed to execute something something friendly message", detail)
```