fix bug of erasing the temp .avi file created by mencoder because