Handle the case where dirs already exist.