Upgrade find-and-replace to use atom-text-editor