Canadian oil refineries are quietly pivoting to an unlikely raw material for diesel.