generator: generate an .mli

Signed-off-by: David Scott <dave.scott@citrix.com>