[PATCH v2 2/4] kernel32/tests: Correct ReplaceFileW error checking