pub fn remove_file_if_exists(path: &Path) -> Result<bool>
Remove a file when present.
Returns whether an entry was removed.
Returns a contextual error for failures other than a missing path.