lib/standard/file: Added a way to change the buffering for a specified stream

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
sys: Force the buffering of stdin and stdout as Line-buffered

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>