escape paths properly for cordova/run bash script