Added more diagnostics output in writers to investigate bug.
Merge branch 'dev' of github.com:/EventStore/EventStore into dev