Sanitize paths in file/Util.cpp