check if a file is a dir in a cross platform manner
Merge pull request #1454 from phora/patch-1

Check if a file is a dir in a cross platform manner