Stdio.File: Support non-empty buffers in set_buffer_mode(). Stdio.File()->set_buffer_mode() now has a defined behaviour for adding and removing buffers that aren't empty. The behaviour is the same as for set_buffer_mode() in SSL.File.