[io] Fix bug in accessor-console? on win32.