mplayer_server: change the buffering type

The stream connected with the mplayer subprocess used to be unbuffered.
Since we do not need to write every character one by one, we can set it
to line buffered.