Bugfix: propigate data_dir to config.