Wow, this code is dangerous, almost Bobby Tables dangerous.

Suppose my path is `/{album}/{song}/{explicit}` and my album name is `Black Album {explicit}`, then this emits a corrupt path. The safe say to do this is to walk through `path` once, left to right.