Revert "[FIXED JENKINS-21780] DirectoryBrowserSupport.FileComparator should cache isDirectory calls."

This reverts commit ab54f136ca66dc0a29886c5dc94851adeb166356.