WP-3856: Patch field collection to validate file/image fields.