replace ext by _ext

From CakePHP 3.0 beta 3, you must use _ext to set extension.
ext does not exist anymore.