Fixed decoding issue in --verify test in Python 3