fix 32bit splitrange and filesize incompatibility