pub(super) fn prepare_dir(dir: &Path) -> Result<(), String>
Create dir if needed and make it owner-only (0700), also when it already existed with wider permissions.
dir
0700