Small fix for stale files getting stuck in the cache