lua : fix a bug in the type system for format modules
lua/modules/storage : fix a spelling mistake in the API