modified debugtool.cpp to write diff blobs as well.