[cage] GH #908 clone const string for path_guarantee_trailing_separator()