File not marked temporary and usage not updated if only used in past revisions when node is deleted