Issue #3001398 by mondrake, Krzysztof Domański, alexpott, voleger, neclimdul, longwave, dawehner, goodboy: format_size() fixes