MAVFtp and Create_Terrain.py Issues on Plane 4.06 beta

When using the create_terrain.py script, running on Ubuntu 20.04 with python 3.8.2, I randomly get the following two warnings: (I never could get the script to run under windows)

  1. create_terrain.py:205: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for ‘#’ formats
    block.crc = crc16.crc16xmodem(buf)
  2. create_terrain.py:223: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for ‘#’ formats
    crc2 = crc16.crc16xmodem(buf[:1821])

When I upload (USB2, no hub) these dat files through the new MAVFtp function on 4.06 beta I randomly get this error which cancels the upload:
Exception of type ‘Ionic.ZipBadCrcException’ was thrown.
at MissionPlanner.Controls.MavFTPUI.<>c_DisplayClass13_0.b_2(IProgressReporterDialogueiprd)
at MissionPlanner.Controls.ProgressReporterDialogue.RunBackgroundOperation(Objecto)

Usually if I keep trying the same file will eventually upload. It leaves me questioning whether or not the files are actually ok.

Open an issue on github please

Issue opened for the create_terrain.py script and issue opened for MAVFtp.