Always create a WritableStream for stdin
Rename stream -> io for consistency
Don't double-close
Don't stop EM too early

Otherwise we leave some callbacks behind.