Handle out of disk space when writing to capped db

Main issue was that currIndex was updated, but exception occurred before
currPosition was updated, and so subsequent writes went to currPosition
but mis-matched currIndex was returned in FileBlock.