Replaced FileExists implementation with boost::filesystem::exists.