Uninitialized file type would lead to __exit__ lookup failure when site.py
tries to read *.pth files on interpreter startup.
diff --git a/Objects/object.c b/Objects/object.c
index 95072af..0191ebe 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -2156,6 +2156,9 @@
 
 	if (PyType_Ready(&PyMemberDescr_Type) < 0)
 		Py_FatalError("Can't initialize member descriptor type");
+
+	if (PyType_Ready(&PyFile_Type) < 0)
+		Py_FatalError("Can't initialize file type");
 }