Better message if we can't write a pidfile