pub fn validate_import(root: &Path, requested: &Path) -> Result<PathBuf>
Validate an existing import file without accepting symlinks within the root.