Python 3: fix tests/test_utils.py

Only call decode('utf-8') on bytes, not on text strings.

Change-Id: Id856ab4775797d486831f5abb927429b8230c5c1
Merge "Python 3: fix tests/test_utils.py"