save termInfoDic to local file