Refactor levenshtein* interface for cstrings