installer: Use humanize_number() and dehumanize_number().
installer: Divide and multiply instead of shifting.
installer: Cast to int64_t for i386.