Sandbox logging handler explodes when given non-ASCII messages