session: fixes
io_file_posix: set EOF flag is size==0 when opening