MULE-7821 set SftpException as cause when re-throwing IOException in listFiles

replacement pull request for 930, this is a single commit, no mocked SftpClient, added comments to test to clarify the point of the test as well as explain what is going on there.