widl: Write type string for serialized types.