rename writemime(io, mime, x) to write(io, mime, x); export TEXTPLAIN and TEXTHTML convenience constants