tFPDF error: Unexpected end of stream