Addresses #6591 Hide diff for lineinfile if file did not change.