core: Use gs_stream_fstat()

Just a cleanup.