Fix: should not concat directories
Merge pull request #9 from ppcano/should-not-stat-dir

Fix: should not stat directories