zsh: use ad-hoc histfile locking.