Fixed mime types file upload error and added common mime types.