Fix numerous copy-paste errors in EmbeddedServerPortFileWriter where PID concepts are referenced. Fixes gh-2161