Western Canadian ports, rails flex up after peak season delays