Fix Mplayer stdin when write commands and pausing