tdb2: use vasprintf.