Fix unicode error when logging.

Change-Id: I2400bc4e63934f118a4b1b32326585269677c085