use shell command for removing non empty directories so it works with older node (#3769)
use shell command for removing non empty directories so it works with older node (#3769)


superdesk/superdesk-client-core,superdesk/superdesk-client-core,superdesk/superdesk-client-core,petrjasek/superdesk-client-core,petrjasek/superdesk-client-core,petrjasek/superdesk-client-core,petrjasek/superdesk-client-core,superdesk/superdesk-client-core,petrjasek/superdesk-client-core,superdesk/superdesk-client-core