FIO Windows update

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/init.c b/init.c
index bdbb377..0a3529d 100644
--- a/init.c
+++ b/init.c
@@ -431,7 +431,9 @@
 	if (lstat(filename, &sb) == -1)
 		return 0;
 
-	if (S_ISREG(sb.st_mode))
+	/* \\.\ is the device namespace in Windows, where every file
+	 * is a device node */
+	if (S_ISREG(sb.st_mode) && strncmp(filename, "\\\\.\\", 4) != 0)
 		return 0;
 
 	return 1;