fast-import.c: use a ref transaction when dumping tags