core: Add Charset when converting to byte to String

Fix a findbug issue, by adding a charset when converting byte array to String.

Change-Id: I14a1253c24d4a01382743b9388a5d8474915256c
Signed-off-by: Maor Lipchuk <mlipchuk@redhat.com>