FILEIO: rename XSeekWhence enum.
FILEIO: introduce XReadWriteMode enum.
FILEIO: add xffreadoset and refactor xffwriteoset.