merge-recursive: cleanup handle_rename_* function signatures