Io Test update

Made some cleaning in the test.
Add a new test for file functions.
PPSSPP pass io, cwd, directory. file still fail on file mode