SFTP: Redo mkdir() and _realpath()

Also make it so nlist() caches directories as well