The writer broke if you tried to store a character string as bytes

Now the writer just dies if you ask it to do this, since that doesn't make any
sense. Added a test for this.