Adapted ramfs driver to be compatible with the new FS driver API