cleanup Writer (finish_pub shouldn't be a 'public' method)
Merge pull request #43 from mreiferson/writer_cleanup_43

cleanup Writer