Add more file I/O mocks

I have added mocks for 4 more functions:
  popen()
  pclose()
  feof()
  fgets()