When running in CI, we would see failures due to the environment
variables being changed. This relaxes the precondition to allow the test
failure to propagate.
During the review for the changes to support Windows, we realized that
the location that is being used for the autosave information is only
available within the user domain mask. The Windows implementation was
corrected as part of the implementation, but this corrects the XDG
compliant path to reflect this reality.
Repair the error reporting on Windows in the case of a failure in
`SHGetKnownFolder` - the returned value is a `HRESULT`, which is the
extended error code unlike the Win32 APIs which return a `BOOL`.
The "Recyle Bin" is a virtual folder and does not have an associated
path with the folder that we can query. Undo the implementation here for
the time being to avoid the assertion failure in the runtime.