Workaround chromium issue 224251 - corrupted result by joining blob many...

Workaround chromium issue 224251 - corrupted result by joining blob many times; add a new ByteArrayWriter.
See also #80.