Zsh history file encoder/decoder for Emacs