Empty buffer at the end of flushBuffer

- Fixes #79
Merge pull request #83 from snowplow/develop

Core Version 0.1.3