Fix usage of magnitude for kilobyte output