Review of r1546165
Do not waste time converting the whole path to lowercase. Convert only the filename, as it is its extension that we are testing here.

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