Fixed wrong parameters of Cache::write
Merge pull request #492 from CanesCZ/patch-1

Fixed wrong parameter of Cache::write