redirect output to a configurable file
Merge pull request #1021 from influxdb/fix-1021

critical errors don't hit stderr