ae.sys.file: Fix compilation on non-Windows
ae.sys.file: Fix unit tests on POSIX
ae.sys.file: Implement getFileID on POSIX