Increment for all pid files

When processes > 1, each pid file has its increment,
not just after the first one.