Had same issue with same NVR, bug fixed in 3.4.80. From changelog: "Optimize E series NVR’s recording stability when switching to next packet".
After upgrading firmware, bad gaps turned to good ones:), i.e. end time of previous file is now greater than start time of next file.
Slightly annoying...