Fix port number in pidfile.