Fix CreateFile() return value check. Don't rely on perror on Windows to have correct return code.
Fix CreateFile() return value check. Don't rely on perror on Windows to have correct return code.

galibert/dietools,galibert/dietools