Fixes resource state file creation for lrmd and pacemaker_remoted