nutenc: only write an index if there are syncpoints