config: flip return value of write_section()