File validator allowedTypes, mime instead of ext [ci skip]