store: move _plainhybridencode and _dothybridencode higher up in the file
no functional change
test-hybridencode: use store._dothybridencode(s)
and compare it with the result of store._hybridencode(s, True)
store: fix _hashencode call in _dothybridencode
Fixes
7840d81a80ec
check-code: catch yield inside try/finally (with tests)
This is not allowed in Python 2.4.