/**
  * Create a directory.
  *
  * This method is called in response to mkdir().
  *
  * Note: In order for the appropriate error message to be returned this
  * method should not be defined if the wrapper does not support creating
  * directories.
  *
  * @param string $path Directory which should be created.
  * @param integer $mode The value passed to mkdir().
  * @param integer $options A bitwise mask of values, such as STREAM_MKDIR_RECURSIVE.
  * @return boolean TRUE on success or FALSE on failure.
  */
 public function mkdir($path, $mode, $options)
 {
     $this->createStreamWrapper($path);
     return $this->streamWrapper->makeDirectory($path, $mode, $options);
 }