optimization: isDirPath does not need to check \ on OSes where that separator isn't used
optimization: isDirPath does not need to check \ on OSes where that separator isn't used

xpybuild/xpybuild,xpybuild/xpybuild,xpybuild/xpybuild,xpybuild/xpybuild