GOFormat: handle text format export same as number format export.

This, in particular, does the right thing for invisible characters.