Don't use file_handle.closed, since it's not RPython.

We add a boolean to keep track of the file handle status instead.