Save a PID file for every process