Split out and improve tests
Url encode path in the native share
Prevent line wrapping in smbclient