fdo#82038: senddoc, uri-encode got lost on Mac

Change-Id: I2f104c64601b22ce3ef078295c7da3cb21a133f9