ADDED: flush_output/0 emulation for pegines I/O.