Make PDFDocBuilder return a std::unique_ptr
This make the memory ownership cleaner, and allows to simplify
a bit of error handling code in the utils
directory.
This make the memory ownership cleaner, and allows to simplify
a bit of error handling code in the utils
directory.