More efficient human_filesize

Use log() to calculate the number of digits.