change output method to return string
change output method to return string

this will make it easier to test since we can just verify the
contents of the string that it returns rather than try and get
at the string that it printed

markdrago/flypaper,markdrago/flypaper,markdrago/flypaper