- removed some unused member variables from SFTPSessionImpl

- added some nullptr checks to SFTPSession, SFTPFile and SFTPDir
4 jobs for rsmpbs in 5 minutes and 10 seconds