paramiko returns chunk of binary type.
So code must join all chunks with binary type and not as str.
Also this patchset adds one more parameter 'encoding' for exec
function to decode binary result to str.
Closes-Bug: #1495181
Change-Id: I886c9d0c143d3553876ece7b6d1ac2df7e49d701