Reorder storage.open and rm of syncFile.