lib: fix broken assert in FStream::opens

The old assert didn't work since the return was always `!= null` in Nit. Now we use instead the C value of `_file`.