ensure to match Path.basename with string

It's intended to catch up with the following change.

https://github.com/elixir-lang/elixir/releases/tag/v0.13.1
  [Path] The functions in Path now only emit strings as result, regardless if the input was a char list or a string