pub fn ensure_private_dir(dir: &Path) -> Result<()>
Create a directory only the user can enter. On Windows the folders under the user’s profile are private already.