Fixed the DirPath.relativeTo method

Instead of `take` then `drop`, could you use `splitAt`?