This should fix the bug where file transfer with compression failed with