syscalltest: implement FS and other calls