Man who appealed 30-year sentence gets life imprisonment in Tanzania