accommodate windows when recursively mkdir’ing