Use proper quoting in remoting script

Change-Id: I03db999bfc98e9a9c22eeb19c75e8f064d7157f9