Issue #4710 - Unit test for cache type file generates error.

Bug report:

http://dev.kohanaframework.org/issues/4710