#2778 Bug - CFileValidator general exception when validating mime types for file whose upload failed due to file size

Correction of bug #2778 where uploading a file of size over the PHP ini limit would throw a general exception if the validator was set to validate MIME types.