Create jim-aio-win32.c

Some helper code for win32