adding try/catch around boost::filesystem::exists() to handle inaccessible path.

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
adding try/catch around boost::filesystem::exists() to handle inaccessible path (fixed indent).

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>