Updated read_coarse_link to use bytes_to_int and fread instead of read_int_from_file.