Base implementation of chmod().
Overrides DrupalStreamWrapperInterface::chmod
function chmod($mode) {
$output = @chmod($this
->getLocalPath(), $mode);
// We are modifying the underlying file here, so we have to clear the stat
// cache so that PHP understands that URI has changed too.
clearstatcache();
return $output;
}