This means 'create the file if it doesn't exist', right?

You should actually do:
```
  create: flags.pathNotExistsAction() == BrowserFS.FileMode.CREATE_FILE
```