This is due to the fact of possible race condition in fopen(). Also, ipmi_open_file() could double if there was a way how to pass mode or whatever. We'll see, but scattered use of fopen() and almost no use of ipmi_open_file(), which does some reasonable(?) FS checks, seems wrong.
Ticket moved from /p/ipmitool/feature-requests/43/