Bencode (.torrent file format) reader/writer in OCaml