allow progressbar to handle too-small maxval

can come up for servers reporting incorrect
Content-Length, or requests decompressing content.

progress bar will sit at 100% while value >= maxval
Merge pull request #1040 from minrk/maxval

allow progressbar to handle too-small maxval