And ensure string_views aren't pointing at freed memory by saving a reference to the result of path_to_utf8