Implement ExprWriter. Rename PiecewiseLinearTerm to PiecewiseLinearExpr for consistency.