I see why you've put this here, but I feel that doing this check once on startup is fine.
Or maybe, having a try/catch, where the catch makes the dir and tries again.
I doubt the `os.path.exists` function is expensive, but it will run once for every individual pstats that will be sent in.