protected function _file_put_contents($file, $data, $flags = 0, $context = null)
    {
        if ($this->isVirtual) {
            $file = $this->_prepareForVfs($file);
        }

        // return the result of operation (virtual or real)
        return file_put_contents($file, $data, $flags, $context);
    }