paths: add relative_to() and split()