Firefighters shot at while battling New York blaze