pub fn common_prefix(lhs: &Path, rhs: &Path) -> Option<(Path, Path)>
Traverses both paths until they differ, returning the common prefix of both.