Handle uppercase extensions in file uploads