Escape "$" in script generated when simpleperf_app is true.

bug: 80265465
Test: adb shell "am instrument -e simpleperf_app true -e apps com.google.android.youtube^Youtube -e launch_directory /data/local/tmp -w  com.android.tests.applaunch com.android.tests.applaunch/android.test.InstrumentationTestRunner"

Change-Id: I6d0113019c019dac856bf613408d278713ca8585
1 file changed