pdf_add_stream: Rationalise heap objects
pdf_add_stream: Rationalise heap objects

dstr means we don't need to have these temporary buffers anymore

AndreRenaud/PDFGen,AndreRenaud/PDFGen,AndreRenaud/PDFGen