[PATCH v9 3/4] server: Handle renames to destinations containing trailing slashes.