Rounding issues lead to FAT image being too small

Due to rounding issues introduced in f34c9579 we end up with a FAT image that may be too small.

Edited by David Runge