Bug 847256 - fix marionette logging UnicodeEncodeError, r=mdas