Fix unicode error on export