fix off by one error
Merge pull request #377 from bheilman/fix_array_indexing_for_paramsets

cf-dc-api.pl: runfile generation: fix off by one error