Python's `os.path.relpath` as a shell function.