Revert to fgets().