Apply further fix to base64 encoding, fixes #10