make copyJarResourcesRecursively print stacktrace when exception is catched