Use idiomatic Ruby instead of Shell for deletion

The file existence check can also be removed since ::rm_rf will not
error for nonexistent files (that's true of the original Shell version
as well).
Use Ruby's FileUtils::mkdir_p instead of Shell