[PATCH 2/2] kernelbase: Fix the bug in ReplaceFileW when replaced is a directory.