Ensure upload size does not exceed 100%

With small files the percentage displayed could exceed 100% (as the code
is counting bytes used transmitting headers), this just caps the display
value to avoid confusing the user.