Resets output buffer before each file group. Fixes #30