Fixed cleaning of tmp folder for RSpec specs.