add __exit__ for NamedTemporaryFile to handle close/remove when used in "with" statement