Update utils.py

Python 3: metadata will already be decoded by the time it enters the system (compat with python 2.7)