Add support for SFTP to create empty remote directories without uploading a file

FTP supports creating remote directories by just changing into them and handling the error, with SFTP we need to set the upload state on the session in order kick ssh.c into the create directory state