Is there a reason you want to play avis in iTunes? Just install Perian, they released a new version two days ago thats even more compatible with Lion. Or use VLC. iTunes just is not designed at all to handle any non-native filetypes. Certainly not video files.