[PATCH 2/3 resend] kernel32/tests: Correct ReplaceFileW error checking