Call to write.table fixed for not including row names.