US authorities treating attack with 'makeshift flamethrower' as an 'act of terrorism'.