Normalize path replacement strings part 2

Potential fix for https://github.com/rembo10/headphones/issues/1824