Change the current directory to config dir

Because TDiary.server_root uses Dir.pwd and some plugins such as
image.rb refers it.