Support setting a SanitizedFile where the content_type is found on the :type key of the file hash, closes #1487