emulate the humanize_size behaviour