plug-ins: port file-header to GIO