v1::BaseLogWriter::write() bug fix.
Merge branch 'master' into yandex_rhel5