fix: open writeStream before write

If do not handle `open` event, application that use `ncp` could crash with next error
```js
events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: EACCES, open '/home/io/1.js'
```
if there it is no rights to write to file.