SFTP driver finishing

Not Python 3 compatible. Also I guess you can raise an exception rather than printing it.