[PATCH v8 3/3] server: Handle hardlinks and casefolding when renaming the same file.