Fixed #11857 -- Added missing 'closed' property on TemporaryFile class. Backport of 926bc42 from trunk.
Thanks to kux for the report, and Russ Webber for the patch.