Move templater into standalone and out of dummy_client
Fix up templater error cases (mkdir and write error)
Remove dumb print from send in dummy_client