decodes stdout for py3k compatibility