fix problems with file node release

Spent files weren't being released because they weren't
being marked for release in certain situations.