Using node's Buffers for base64 encoding instead of vendored module