Implements Drupal\Component\Gettext\PoStreamInterface::open().
Overrides PoStreamInterface::open
public function open() {
// Open in write mode. Will overwrite the stream if it already exists.
$this->_fd = fopen($this
->getURI(), 'w');
// Write the header at the start.
$this
->writeHeader();
}