Switch back to string_decoder from Node source, which handles partial
UTF-8 in a way that preserves non-standard characters just like
regular Node.