set SftpException as cause when listDirectories throws IOException

for issue MULE-7821
please use @Test(expects=Exception.class)