Master log file first opened as root, than daemonization with privilege drop happens and master then unable to log to this logfile because of insufficient permissions. So chown logfile to "runas" user to avoid this situation.
In python-daemon 1.6 they renamed pidlockfile.py to pidfile.py.