Make sure that we set the modification date as the last thing.