Quoting Justin Collins <collinsj / seattleu.edu>:

> Not necessarily - the program could check for the existence of
> the directory, then something else (another program, the user,
> etc.) could create or remove the directory. Not very likely, but
> it could happen. Probably not worth worrying about though, huh?

It's probably worth working out what a sane way to fail in that case
would be; stuff like that can have security implications.

-mental