Windows: corrected FindFirstFile() return value check