update nameserver_main.cc
move WriteFile to FileImpl