don't fail flush if cache dir doesn't exist