Added option to save a patch file from the diff