Fix a minor Python3 issue

Compare LengthEncodedFramer.to_frame() result to a binary string, rather
than a text string.