I don't believe you can corrupt an avi by opening it during a write.
However, if you have it open before you kick off the render...then yes, max won't be able to write to the file.
As a note, you should NEVER render to a video stream. ALWAYS render a frame sequence (tif, tga, whatever) and put it together after in your compositing app of choice.