Rename pid file