No un-terminated strings, please.
Fix too-optimistic reading code and add support for binary data.