For ENG-6244, fix bug in export and DR where the buffer size isn't big enough to store a maximum size row