Taking an exclusive lock when opening the files saves fwrite having to flockfile() all the time and that shaves off a few ms, but more importantly makes me feel better as there is 0 reason to lock a file onbody else is using