DataManager: check dir existence before creation

Minor performance optimization, check for existence of directory before trying to create it