Blurgh I hate that Python made these ``str`` and not ``bytes``, but I guess we need to keep this method returning ``str`` for compatibility.