Add file IO mocks

Added open(), lseek(), unlink(), and rename() mocks.  I also moved the
close() mock out of mockSock module into mockFileIo module and extended
it to force failure instead of just ignoring.