check for existence before initializing stream dir