mod: refactoring a function about generating csv file

Refactoring the method generating csv files and removing generatecsv.py
because it's responsibility is included to TweetDataStore class.