rm :: FileSystem -> Path -> IO ()
rm (FileSystem fs) p =
  withCString p $ \path ->
    throwErrnoIfMinus1_ "delete" $ c_hdfs_delete fs path
rm :: FileSystem -> Path -> IO ()
rm (FileSystem fs) p =
  withCString p $ \path ->
    throwErrnoIfMinus1_ "delete" $ c_hdfs_delete fs path
rm (FileSystem fs) p =
  withCString p $ \path ->
    throwErrnoIfMinus1_ "delete" $ c_hdfs_delete fs path