fix cat with fs_open return value