AppMan improvements:

- Workround for PathTooLongException with Win32
- Hack to fix the possible dir not empty errors