Fix ranger to open files with editor script