Fixed a bug with bytes_to_int and made read_compressed_link use bytes_to_int instead of read_int_from_file