Update cache.class.php

A bug fixed on Cache::retrieve(); method