private function _getWriteHandle()
{
if (!isset($this->_writer)) {
if (!($this->_writer = fopen($this->_path, $this->_mode))) {
throw new Swift_IoException('Unable to open file for writing [' . $this->_path . ']');
}
}
return $this->_writer;
}