See PHI2236. This has taken me months to get to and is academic at this point, but large file transfer encountered a reliability issue during export.
I vaguely recall that this code takes some shortcuts in error handling/retries, and the easiest fix is probably to just fix edge cases until the export goes through.
(Of course, it'll probably just work the first time now...)