Fixed crashes when splitting 2GB AVI files