Thanks Nick. That patch resolves the issue for now. At least, all my pdf exports are working fine as before.