close files without relying on the collector, to support pypy et al
version 1.1