hooks/patches: accept patches with any .{diff,patch} name.