[CB-4996] Fix paths with spaces while launching on emulator and device