Update data_dir references to use new locationsettings.