Fixed Cache strict standards notice.

Cache function setContent() wasn't using a reference for array_walk, it
was using glob directly. Moved glob into a variable to fix this notice.