Avoid writing too many files at the same time

This fixes
```
fs.js:75
      throw err;  // Forgot a callback but don't know where? Use NODE_DEBUG=fs
            ^
Error: EMFILE, open
```