add support for creating directories