Refactor reply_rmdir to use handle based code. All