FileCollectorTest: Close file handles