Modify a path under oldBase to a new path with the same subpath under newBase. E.g.: /foo/bar.rebasePath(/foo, /quux) == /quux/bar
See Implementation
Modify a path under oldBase to a new path with the same subpath under newBase. E.g.: /foo/bar.rebasePath(/foo, /quux) == /quux/bar