Test: cts-coverage: clean up code
Quote arguments appropriately, and exit on failed cd. Makes static analysis happy.