Fix small problem in documentation:  Only call ruby-progressbar#finish if the progressbar is not already finished.

There is another incompatibility between the old progressbar gem and the newer ruby-progressbar. If you call finish if the progressbar has already reached the end, it will be printed again in a new line. So only call finish if it has not already been finished.