Add ability to catch Encode.xs failures on UTF8 bad leaders.