ensure unicode stdout from custom_module