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.
store: use native fncache encoding function if available
This currently falls back to Python for hashed encoding.