fix EEXIST when trying to create existing dir