quote .idx file path in case white spaces in it