Switches to StringIO blocks in report.rb.