[master] change of write encoding (utf-8) common.rb