Create data and log dirs.

Remove redundant datastore parameter.