Add support for outputting to a file

Currently only useful in combination with '-c'
Add -b output redirection flag to the documentation.
Merge pull request #228 from raboof/outputtofile

Add support for outputting to a file