Fix the way we delete the shadow files after a "succesful" commit