Fixed exporting very large archives (over 5 GB .bar file).