This one is wrong on the OS side of thigs.
KB = Kilobyte, which from SI definition of kilo means 10^3.
KiB = Kibibyte, was formaly defined later by IEC in 1998 as 2^10
OSes (Windows/Mac/Linux), are the ones doing it wrong, using 2^10 internaly, but presenting using SI prefixes.