set SftpException as cause when listDirectories throws IOException