make tables dir unless it exists