Update upload/system/library/cache.php

close($handle); changed to fclose($handle);
Merge pull request #410 from apophis-cms/master

fix for file cache.php