Fix fprintf format warning on Windows