Wrote fs_metaread() and fs_metawrite()

will compile but needs debugging