Removed the "fp is at EOF" error check

Potential fix to allow proper writing of files opened for append (mode 'a').