c183a585b2
This provides a bit of case insensivity to file extension matching, allowing for example _filedir foo to match both *.foo and *.FOO. Note that this is not real case insensivity; mixed case extensions like *.FOO.gz are not matched by _filedir foo.gz so those need to be handled like before this change.