Two improvements for data loading

* Continue to load data even if the data is already gunzipped

* When SMART=t, also check the existence of database and schema.
  If they do not exist, create them.