trim text before base64-decoding it.

to work around https://github.com/toots/buffer-browserify/pull/21
Release 1.0.2