Scala base64 encode/decode