Expose Module::dump via C and Ocaml.