diff to patch file