Seperate table write out from column rename.