Fix content of uploaded files. Use correct attributes from FieldStorage object.