A French appeals court increased the sentence against a farmer who has made a point of housing migrants and helping them cross the border from Italy.