Implemented the compression of the patch directory for diffs

  Since we will be working on a one-file diff bundle, I've added the code
  to compress the patches into a tgz archive. I did not write the test for
  this code yet since it will be easier to test once both sides are complete.