Add stdio fgets, tests needed