minor changes for PathUtils