'Save values of options to file.'

def save(self):

    config = RawConfigParser()
    for section in self.sections:
        config.add_section(section)
        for option in self.options[section]:
            config.set(section, option.get_name(), option.get_value_str())
    with open(self.filename, 'w') as configfile:
        config.write(configfile)
