[libraries] test daemon write_pid, pid file needed \n, test was lost w/ the removal of Sensu::Process