Write to streams in the cairo backend.