Correct coercion of logged message to unicode

Changed to check if logged message is an instance of six.text_type
and coerce it to unicode if it isn't.

Change-Id: I26b0d3490f731f6fdb9a429aa9ef59360ddc88ba
Closes-bug: #1348244
Merge "Correct coercion of logged message to unicode"