Checks if a path exists in the filesystem.
true if the path exists, false otherwise.
The path to check.
if an I/O error occurs while checking path existence.