Cleaning up the cache paths.