(_IO_file_sync): Don't lock stream here.