MATRIX_RECOVERY_KEY_OUTPUT_FILE is an operator path (the docs example is /secure/path/...). Through mkdir_under_hermes_home an elevated Windows run ACL-repaired that directory and everything under it. Take the boundary only when the key directory sits inside a named profile home. Patch and test by BearHuddleston (review 6019624984). Co-authored-by: BearHuddleston <196404565+BearHuddleston@users.noreply.github.com>