small bugfix: fixed write_conffile and really_write