error message now has translation and changin from file_exists to is_file. yiisoft/yii#3073