Australia avoided meeting the United States in the FIBA World Cup quarter-finals by edging France in a group stage thriller on Monday.