Fixed defects in rmdir, added support for /s and /q parameters in any
order.