Remove unnecessary code
Rename and comment string_to_utf8(), string_to_canonical_path(), etc