ensure we always use UTF-8 when writing blobs
cannot close stream, flush instead
typo
Merge pull request #1422 from marcel-blonk/PLFM-2894

ensure we always use UTF-8 when writing blobs