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