set SftpException as cause when listDirectories throws IOException

for issue MULE-7821
We use tipically use mockito rather than this kind of constructs where possible.

Any chance to change it? I can take care of it if you prefer to not to do it.