* helm-files.el (helm-ff-query-replace-in-marked-1): New.
(helm-ff-query-replace-in-marked): Use it, run in helm-run-after-quit to fix keymap.