loggin: some cleanup, particularly of write-message.
io.streams.string: cleanup tests.
io.streams.byte-array: add test of empty byte array.
io.streams.byte-array: some cleanup.