I think the orkut dataset is already in a tab seperated format, to turn it into CSV you only need to add the column labels.
http://snap.stanford.edu/data/com-Orkut.html For an example you can have a look at the import scripts: https://github.com/weinberger/nosql-tests/blob/master/arango...