Fixed Issue #9, Bug report #3973

https://github.com/kohana/cache/pull/9