Fixing file uploads to perform lcs on downcased headers and fields