You should render to images instead, and then convert the images to avi-files later. There is a tutorial on this site about how you should do it I think.