Renaming `sanitizePathsFromPrefix` into `sanitizeStringsFromPrefix`