fix unicode logging error
xcffib passes these to us as strings
Maybe better tests