rapid7/metasploit-framework — pull request #1736 by averagesecurityguy (2013-04-17 01:45:33+00:00)
Title: Fixed issue with downloading XML reports.

The XML report has an extra tag which prevents the .text
method from working properly. I used the .to_s method instead.

I also moved the rescue statement because it was masking other errors
that were being raised.