added ensureDir.py