Changed the pid file to remove before starting the encode daemon.