make file regexes case insensitive

so for example *.JPG images from cameras are matched

A smaller change would be to just add JPG (all caps) as an allowed extension, will push that if it is preferred.