FreeBSD recording engine: libxml2 cleanup