Support for writemime.