Truncate the cache file