support ruby 2.0

@zendesk/samson @grosser 

#59
why not write to a StringIO ?