Pass filenames as arguments, not via options.

Fixes #1326
Are outputName and suorceRoot required now? Can we make them optional?

```js
export function write(tree, options = undefined, outputName = undefined,
                      sourceRoot = undefined) {
```