`CreateFileW` must be passed `FILE_FLAG_BACKUP_SEMANTICS` to allow a handle to a directory to be acquired. Without this, we would previously fail with permission denied if a directory was attempted to be renamed.
`CreateFileW` must be passed `FILE_FLAG_BACKUP_SEMANTICS` to allow a handle to a directory to be acquired. Without this, we would previously fail with permission denied if a directory was attempted to be renamed.