Actually, never mind.  It's other processes accessing the file, not Ruby.  This code's okay.