modprobe: use buffering line reads (fgets) instead of reads().