[WFLY-1787] make modules and bundle path explicit parameters
[WFLY-1806] log if a directory cannot be deleted