Bz/small fixes

The geoipupdate version helps debugging issues.
Binary reads and writes make it work on operating systems like windows.