Expose rmkids and rmkidsSync on API

* Useful for emptying a directory instead of removing it