Add save_config and get_config method from deepin-terminal, those two functions avoid config module crash when read from different version.