Only try to decode when we're using python 3