Improve error handling in ContentBuffer

If there are errors when flushing, carry on, rather than
fail.
Merge pull request #493 from atlasapi/pa-exception-handling

Improve error handling in ContentBuffer