handle mkdir failure with @ and short circuit logic
Merge pull request #16 from ysangkok/master

handle mkdir failure with @ and short circuit logic