Final results show the president of Niger , Tandja Mamadou , has won a second five-year term in office .