[sd-utils] use /bin/rmdir instead of rm -rf for removing empty directories