liblogthread: Fix sefault if fopen() fails for any reason
liblogthread: Fix sefault if fopen() fails for any reason

stevenraspudic/resource-agents,asp24/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents,stevenraspudic/resource-agents