Adjust to the PDF Stream changes. TODO: This could still be optimized in a similar way as the PDFT1Stream (to avoid the additional buffer).