SyncDictFile: flush the data before rename