yaafe-core: fix memleak in OutputFormat