WI-16768 Rearranger: exception during reformatting of large file