Minn. man charged in machete attack on dog