Combined mkdirs and autoCreatePath in file system abstraction.