why were chainsaws invented