Buffalo, New York warehouse fire injures 12 firefighters