Fix stringification of paths.