do_for_each_reflog(): use a strbuf to hold logfile name