Avoid fgets unused result warning on Ubuntu