use tweepy to write tweets matching a given search to an output json file