mimeTypes Validator is wrong

I'm find error

```php

Wrong
 } elseif (!empty($this->mimeTypes) && !in_array(FileHelper::getMimeType($file->tempName), $this->mimeTypes, true)) {

Correct
} elseif (!empty($this->mimeTypes) && !in_array(FileHelper::getMimeType($file), $this->mimeTypes, true)) {
```

Not need call '$file->tempName' because getMimeType get object $_FILE => $file, so use $file and validator works fine
Update FileValidator.php
Fixes #2314: Gii model generator does not generate correct relation type in some special case
Merge pull request #3785 from marciocamello/patch-2

mimeTypes Validator is wrong