FileAllowed: bug fix for uppercase filename with uploadset

When filename has uppercase extension filename with uploadset, FileAllowed will raise error. For example when an image has extension `JPG` rather than `jpg`, the validator will fail. We should use lower filename for uploadset validation.