Fixes encoding issue

Logging fails when using non-ASCII characters. This gives the option
of decoding the output of system calls.

Closes-Bug: #1382047
Change-Id: Ieb43b2ce4765975ee93da528ad3cb95b27d6285a
Merge "Fixes encoding issue"