io_export_tracks: fixed far-near calculation