* helm.el (helm-exit-minibuffer-hook): New hook.
* helm-files.el: Use it to save history file.