sync bitmap to disk