Become binary-safe. Now works on (and returns) buffers

Commit that makes thirty-two binary safe. Solves some problems with encoding unprintable characters, which to be honest is what base-(whatever) is for.

Somewhat not backward compatible. Encode and decode will still accept strings, but will now return buffers.