plug-ins: port file-pnm-load to GIO