Make patches cache versioned