FIX: Remove Hardcoded Offset in Compression
FIX: Remove Hardcoded Offset in Compression

An offset of 7 was hardcoded in the function compress_file, presumably
to skip over the default target IP address of 0.0.0.0 in a hosts file.
However, this causes problems when the default is overridden using the
--ip or -i flag, causing visibly garbled output in the generated hosts
file.

Fix is to calculate the length of target IP at runtime.

gfyoung/hosts,gfyoung/hosts,StevenBlack/hosts,StevenBlack/hosts,borisschapira/hosts