Simplified condition in a stat module example testing if path is a directory.
Merge pull request #120 from tjanez/doc-simplify_isdir_condition

Simplified condition in a stat module example testing if path is a directory