io: Add fileStat implementation

It is only a stub with single purpose.
Also, I changed order of entries in enum FileType, so Unknown is default