Used incorrect arguments on rm

It should be rm -Rf, not just rm -R.