Add a buildtask for cleaning up snapshot directories

Due to the amount of time this fails, it seems prudent to have a task ready for cleaning up.
Obviously, this isn't the most robust implementation, but it has a dry run and is useful for administrators/operators who are trying to free disk space.
If ! doesn't make a lot of sense when you also have an else. Usually better to take the positive if when you have the choice.