Enhancement: Enable Windows filesystem privileges before file access

Restic used to enable some Windows filesystem privileges only while reading
or writing security descriptors. Extended attributes could therefore be read
before enabling the backup privilege, possibly resulting in missed data or
errors.

Restic now enables the relevant filesystem privileges before any file access.

https://github.com/restic/restic/pull/5424
