Add logging

probably. maybe we should abandon pathExists from the API at all. using pathExists is almost always a hint for a race condition... SO if we have cases that are like this we should fix it.