Added replacement for PathUtils.