Fix creating a diff for a deleted file.