cache_open_fs_dir returns an int indicating success/fail