Added additional protection for IO exceptions when flushing pages.
Added check to ensure we don't re-pin with a cursor already using another page.
Merge pull request #2459 from jakewins/2.2-future

Handle running out of disk in new page cache