don't use a tempfile to store the config use a strbuf. libc will decide when to do...