pub fn remove_from_dir(name: &str, dir: &Path) -> Result<PathBuf, ZigError>
Lower-level helper: remove a single resource from an explicit directory.