pub fn remove_if_empty(path: &Path) -> Result<()>
Remove an empty directory.
Returns a contextual error when the directory cannot be removed.