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