TREASURIES-Prices gain in safety buying before hurricane shutdown