We don't need to encode! preamable/postamble:

Ruby will do the conversion for us when we append.
Raise error on invalid encoding
Add some documentation about encodings