Add step to remove directory

There is a method `#remove_dir` in `api.rb` but no step which uses it. I added a step which makes use of because I need it in one of my projects. Would you mind to review this PR?

Thank you very much.

Regards,
dg