remote_access: IsDirWritable: combine two ssh commands

Since RemoteSh runs a shell, we can join the two `touch;rm` commands into
a single ssh connection.  This gives a minor speed up.

BUG=brillo:985
TEST=`cros deploy` still works and is able to run verify write access
TEST=`./cbuildbot/run_tests` passes

Change-Id: I273b37c5f76456711da61249b6b92bb603e2fc02
Reviewed-on: https://chromium-review.googlesource.com/272801
Reviewed-by: Yiming Chen <yimingc@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/cli/deploy_unittest.py b/cli/deploy_unittest.py
index ab500f7..3b0492b 100644
--- a/cli/deploy_unittest.py
+++ b/cli/deploy_unittest.py
@@ -35,7 +35,7 @@
     self.port = None
     self.lsb_release = None
 
-  def IsPathWritable(self, _):
+  def IsDirWritable(self, _):
     return True