use Base.write as fallback install of Base.writemime