Search for file extensions in a case insensitive way

I had several .JPG files which were ignored/errored