Elixir master has a `Path.relative_to` which seems to do what you want. :)