Resolves error with Python 3.2 'TypeError: can't use a string pattern on a bytes-like object'