Fixes for py35

Decodes the bytes in a string type in a few places to get the
py35 version of the gate to pass.

Change-Id: Ifc66bdeacb09060e3ef699bc15e20f636bf84916
5 files changed