A few tweaks to make docs2csv play nice with stdout

These changes allow a user to omit the `outputfile` parameter and instead have `docs2csv` pipe the CSV results to `stdout`. E.g.:

```sh
ruby docs2csv.rb -r -o directory-to-scan > output.csv
```

p.s., Big thanks, @jstray, for this handy library! :tada: