Bug fix in GLog::write()