FILEIO: add CMake file.
FILEIO: fix nested comments.
FILEIO: remove JFILE_INTERNALS.
FILEIO: fix prototypes and unused variables.
FILEIO: do not upper-case path names.
FILEIO: fix missing braces and reorder tjr union.