Make broker write its own pidfile