Support diffwrite