Clean up splitpaths in xstring.cpp.