Need to convert Path to string before checking the extension
scanWebInfClasses() still requires an implementation for when scanAllDirectories is enabled

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1546165 13f79535-47bb-0310-9956-ffa450edef68