FPDF error: Unexpected end of stream