public function write($path, $contents)
    {
        if ( ! FileKeeper::exists($dir = $this->getBasePath()))
        {
            FileKeeper::directory($dir);
        }

        FileKeeper::write($path, $contents);
    }