Fix SmartState Analysis failures on non-English VMs.

@chessbyte please review.

Text retrieved from non-English Windows VMs may be encoded in
UTF-16. This text may contain byte sequences that are not valid
in UTF-8. Check the text for valid encoding, and convert to UTF-8
as needed.

https://bugzilla.redhat.com/show_bug.cgi?id=1126476
Issue: #293
Issue: #332
That assumes the initial encoding was UTF-8. The original code just forces the encoding to UTF-8, so I assume the initial encoding wasn't UTF-8.