ActionDispatch::Http::UploadedFile is a permitted scalar