FILEIO: introduce XFILE to replace all file operations.

In particular, we want to replace lstdio.
FILEIO: introduce XFFILE to replace FFILE.
FILEIO: convert hpjet to XFILE.
FILEIO: convert type1 to XFILE.