Will have to differentiate between plain text and binary data because insane little JS world uses UTF-16.