More concise base64ing, per schmichael's PR feedback