[COOK-3677] Fix changing data_dir

See https://tickets.opscode.com/browse/COOK-3677