Port the fix to cli_setup_write to handle offsets greater than 32-bits from