Calling ModuleDefinition.Write multiple times generates different outputs.
The first output is binary different from all subsequent outputs.
This is not a blocking issue, since both outputs seem to work fine, but might be a hint to some inconsistency in the write operation.