Add tests for shell.open()
Make SftpFile a context manager