Motueka man attacked by dog