Base64 encoding and decoding in OCaml