fnotify.pl: fix perlcritic errors