Write user cache to disk