DataManager: check dir existence before creation
Merge pull request #69 from alfh/fix_check_dir_before_mkdir

DataManager: check dir existence before creation