mkdir :: FileSystem -> Path -> IO ()
mkdir (FileSystem fs) p =
  withCString p $ \path ->
    throwErrnoIfMinus1_ "mkdir" $ c_hdfs_create_directory fs path
mkdir :: FileSystem -> Path -> IO ()
mkdir (FileSystem fs) p =
  withCString p $ \path ->
    throwErrnoIfMinus1_ "mkdir" $ c_hdfs_create_directory fs path
mkdir (FileSystem fs) p =
  withCString p $ \path ->
    throwErrnoIfMinus1_ "mkdir" $ c_hdfs_create_directory fs path