Fix typo in pidfile code example.
Merge pull request #6434 from tomeduarte/patch-1

Fix typo in pidfile code example.