fs: remove permissive rmdir recursive
To follow the plan invoked in https://github.com/nodejs/node/pull/35562#issuecomment-706419155.
This removes permissive behaviour of fs.rmdir(path, { recursive: true })
, and add a runtime warning for all use of recursive
option with rmdir
(currently, the warning is emitted only if path
isn't a directory).