modify fun/sudo-edit-file with tramp support