Fix so `@edit` works on windows with the default editor + line number is
printed to the user when it is not passed to the editor.