fixed mime type file info

Fixed file validator, for more info see this [comments](https://github.com/yiisoft/yii2/commit/774543fdc8107913e96ace76e3fda576b966c53b#commitcomment-6627707) .