Fix sftp put_dir for fabric run on windows

Fix local directory strip and splits

because rcontext is local file, it should use os.sep instead of '/' for determining what to split. Also splitting the path with os.split before passing to posipath.join