fn remove_matching(dir: &Path, pattern: &str) -> Result<()>
Removes files in dir whose names match the glob pattern.
dir
pattern