Add the update-patches.py tool. Update all the patches, so that the files are up-to-date and use the same patch file format.