Rakefile#clean: Replaced shell calls with Ruby code