Windows: avoid deadlock during SetRenameInformation