Implement fs_lseek and fs_close.