enable writing of only selected output paths

- add WRITE_SELECTED setting
- add --write-selected commandline option
Merge pull request #1314 from smartass101/write-selected-only-PR

Enable writing of selected output paths only. Refs #224.