fixed references to posix file IO API