Removed calls to systemtools.IOManager.write_expr_to_pdf().

Use persist(expr).to_pdf() instead.