adding missing parameter to write.table