Filing issue where uppercase extensions will be ignored by filter

This fixes an issue where `photo_admin_thumbnail.jpg` would match and thus not display in the list whereas `photo_admin_thumbnail.JPG` would display in the directory listing (and also create `photo_admin_thumbnail_admin_thumbnail.JPG` in the process, which would then create `photo_admin_thumbnail_admin_thumbnail_admin_thumbnail.JPG`)