plug-ins: cleanup in file-pnm