convert file output to a BatchWriter
Merge pull request #22 from mozilla-services/features/filebatchwriter

convert file output to a BatchWriter