Fix broken writemime.

How did that get commented out...