sha1_get_pack_name: use a strbuf