Mock readable and writable streams for UTF-8 text.