Tiny base64 encoder/decoder