3.0 - fix#4563 error div on file input

This pull request is related to #4563.

When validating file the 
```php
errors =
 [	'name' => null,
	'tmp_name' => null,
	'error' => null,
	'type' => null,
	'size' => null
]]);
```

This causes FormHelper to add a `div` with class `error` ans the 5 empty `<li>` has shown on the bug report.