untaint config data for epindexer

Uses perl regexp capture groups to untaint config data before using it
to execute the indexer. Also provides some actual sanitisation.

Fixes an issue introduced at 8fefac3