unix: file: Implement .flush() method.

This method apparently should be part of stream interface.
stream: Factor out mp_stream_write() method to write a memstring to stream.
unix: file: No fsync() on Windows.
py: Make print() accept "file" argument, and actually print to stream.

And not printf(), like it was before.