mv :: FileSystem -> Path -> Path -> IO ()
mv (FileSystem fs) p p' =
  withCString p $ \path -> withCString p' $ \path' ->
    throwErrnoIfMinus1_ "rename" $ c_hdfs_rename fs path path'
mv :: FileSystem -> Path -> Path -> IO ()
mv (FileSystem fs) p p' =
  withCString p $ \path -> withCString p' $ \path' ->
    throwErrnoIfMinus1_ "rename" $ c_hdfs_rename fs path path'
mv (FileSystem fs) p p' =
  withCString p $ \path -> withCString p' $ \path' ->
    throwErrnoIfMinus1_ "rename" $ c_hdfs_rename fs path path'