smurf: starutil.py - Ensure bytes are converted to strings when required