finalize() should not throw errors if no I/O stream has been established before it's called.