Move the unix spawn.c from lib/misc through to lib/plat/unix, and add an implementation for windows in lib/plat/windows