Write datefile to /tmp instead of the current working directory because

when it was invoked by HTCondor CE, it tried to write files into /var/log/condor-ce.