Print command lines in a way that preserves spaces and arguments structure.

Also ease debug by printing the failed command line when creating a Sandbox.