public function appendContents($path, $content)
    {
        return $this->invoker->invokeCall('putContents', [
            'path' => $path,
            'chunk' => base64_encode($content),
            'flags' => FILE_APPEND,
        ])->then(function ($payload) {
            return \React\Promise\resolve($payload['written']);
        });
    }