[indexer] Fix quoting and python version

Use Popen for 2.6 compatibility