Yet another implementation of Base64 in scala