tag: use strbuf to format tag header