Fix winap.remove_dir() bugs

Fixes following bugs:
1. when tree arg isn't given, remove_dir tries to concat 'rmdir' with nil value.
2. rmdir command waits for user confirmation, but remove_dir execute rmdir without '/Q' switch.