switch file_open_root() to struct path