I used this for quicktime rewrapping. Not sure if it will work like AVI, but you could leave.
fileargs = String.Format("-i {0} -vcodec copy -acodec copy {1}", path, outputpath);
or, if this does not work, you can try:
fileargs = String.Format("-i {0} -vcodec copy -acodec pcm_s16le {1}", path, outputpath);
source
share