New: report output to a file (fixes #1027)
Merge pull request #1030 from gyandeeps/master

New: report output to a file (fixes #1027)