core: use lower case extensions when guessing mime or file extension.
core: for exif lookups, add LANG=en for sensible exif program output (not for win32 as shell var is used))