Some changes for Attachment and UploadedFile in preparation for video uploads.