Large dataset improvements.

* Use a temporary file for staging mixpanel's stuff before transforming
* Commit every 1000 events and clear the buffer to prevent memory woes