Allow `tree.cleanup` to return a promise.

This move was the result of `npm install --save promise-map-series` (npm now automatically orders dependencies in alphabetical order).