Use ConfigParser to write configs.