Use file size constants all over the code base
In many places we are applying unity conversions with divisions and multiplications against literal values.
Instead we should rely on a single/constant definition of each unity, such as kilo, mega, gigabytes.
If none of the libraries we depend on can supply this info (Glib, Posix), we should define it ourselves.