Moved session-oriented ops to SftpSession.