minor: Unique exception names

Otherwise newer versions of OCaml give this kind of error:
Error: Multiple definition of the extension constructor name Non_closed.
       Names must be unique in a given structure or signature.