MFC r275003:
Add missing headers needed by write().