Fix URL generation in batch export spec