Create directories.