A Pidfile Context Manager compatible with python-daemon's DaemonContext()