Created by: xrobau
I spent some time with random and strange php errors being emitted like :
tempnam(): file created in the system's temporary directory
and fopen()'s failing. This turned out to be because I was exceeding ulimits. Checking that the file was actually created will help the next person who hits this problem!