Big update, new test functions, clean up code and first few stdio-like functions in fat-files.h including fopen() and fclose().