using rimraf instead of fs-extras