public function write($path, $contents)
{
try {
$this->fs->update($path, $contents);
return;
} catch (Error $ex) {
} catch (Exception $ex) {
}
throw new WriteException("File {$path} could not be overwritten.", $ex);
}