Fix Base64 encoding: do not add newlines