fclose: don't fail on non-seekable input stream