Fix warning on assignment of einfo->file