Fix _decode_stdoutdata utility for Python 3.2. See GH-788.