add mkdir method for storing trie on disk