Take care of the datadir