It sounds to me like there was a problem as CF was trying to compile the CFML for the given class file. Have a look back through your logs for events around about the same time as the zero-length file was created.
TBH, I have never seen a tangible benefit in having class files saved, so that could be a work-around for this.
--
Adam