This is a tough one, my first thought was the all in was a protective bet, if he has the straight or a set he still has two of you in to bleed, the bet folds you both out. I think you are ahead here, but I don't know if I would have bet the tournament on the feeling. All things considered I think this is a good fold though.