Flushes a file stream.
int fflush(FILE stream) { try { stream._raf.flushSync(); return 0; } catch (e) { return EOF; } }