The stash file is byte order dependent. This is painfully stupid, but none the less true. If you know your master passwerd you can run kdb5_util stash again. If not, you can swap around the bytes of the key length in your favorite binary file editor.