Fernando Alvear, Director General de Registro Civil