Stick the pid in tmp