Allow to output to stdout with the - argument.

Fixes issue 351.
Modify the XmpReportImpl and XmlReportImpl to work on PrintWriter only.
Merge pull request #466 from tledoux/issue351

Allow to output to stdout with the - argument, fixes #351