[backend] Fix dispatcher code for rename-file-(or-directory)