Refactor resp mod printout to use writer interface
Printing out the modified response as a string now uses a stringwriter -- this allows writing to file to only touch one line of the file at a time, freeing up memory and hopefully making heap issues less likely