build: Fixing another python3 incompatibility with utf8 encoding