Move WriteExpr to expr.h.