MB-7893: Add a "catch-all" clause for file io exceptions
MB-7893: Add a "catch-all" clause for file io exceptions

On SmartOS the exception thrown isn't a const &, causing the
catch to fail (and dump core). This patch work around this
problem by adding a "catch all" clause at the end.

Change-Id: I98e1cb3d298a26e0aa2ee29c28bb6eef4381698c
Reviewed-on: http://review.couchbase.org/25087
Reviewed-by: Michael Wiederhold <a17fed27eaa842282862ff7c1b9c8395a26ac320@couchbase.com>
Tested-by: Michael Wiederhold <a17fed27eaa842282862ff7c1b9c8395a26ac320@couchbase.com>

abhinavdangeti/ep-engine,owendCB/ep-engine,jimwwalker/ep-engine,jimwwalker/ep-engine,teligent-ru/ep-engine,daverigby/kv_engine,membase/ep-engine,membase/ep-engine,jimwwalker/ep-engine,couchbase/ep-engine,abhinavdangeti/ep-engine,daverigby/ep-engine,abhinavdangeti/ep-engine,membase/ep-engine,sriganes/ep-engine,daverigby/kv_engine,teligent-ru/ep-engine,daverigby/ep-engine,hisundar/ep-engine,hisundar/ep-engine,membase/ep-engine,jimwwalker/ep-engine,sriganes/ep-engine,couchbase/ep-engine,daverigby/kv_engine,couchbase/ep-engine,owendCB/ep-engine,sriganes/ep-engine,daverigby/ep-engine,hisundar/ep-engine,owendCB/ep-engine,daverigby/ep-engine,daverigby/kv_engine,abhinavdangeti/ep-engine,hisundar/ep-engine,teligent-ru/ep-engine,teligent-ru/ep-engine,abhinavdangeti/ep-engine,couchbase/ep-engine,sriganes/ep-engine,owendCB/ep-engine