Fix download percentage calculations. https://redmine.stoutner.com/issues/539