Merge branch 'js/emu-write-epipe-on-windows'